package com.example.springbootmybatisdemo.service.iml;

import com.example.springbootmybatisdemo.dao.ShiroUserMapper;
import com.example.springbootmybatisdemo.model.ShiroUser;
import com.example.springbootmybatisdemo.service.ShiroUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Description TODO 用户业务层
 * @Author cdd
 * @Date  2019/9/9
 * @Vesrion v1.0
 **/
@Service
public class ShiroUserServiceIml implements ShiroUserService {

    @Resource
    private ShiroUserMapper shiroUserMapper;

    @Override
    public ShiroUser findUserByUserName(String userName) {
        return shiroUserMapper.queryByUserName(userName);
    }
}
